package com.fcl.blog.po;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author 付
 * @Date 2023/10/14 13:46
 * @Version 1.0
 * @description  关于blog分类的po类
 * @since 1.0
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Type {
//    提高精度
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    private String name;
}
